<script setup lang="ts">
import { ref } from 'vue'
defineProps<{ msg: string }>()
const count = ref(0)
const setCount=():void=>{
   count.value+=1;
}
</script>
<template>
  <button @click="setCount">{{count}}</button>
</template>
<style>
</style>